<?php

$editpz = urldecode($_GET["editpz"]);
$res_pz = MySQL_Query("select * from podzakazka where cislo_objednavky like '".$editpz."'", $spojeni);
if (!$res_pz)
{
  logging("".date("Y/m/d H:m:s").": ".__FILE__.": [".__LINE__."] Error ".MySQL_ErrNo().": ".MySQL_Error($spojeni)."\n");
}
else
{
  $pole_pz = MySQL_Fetch_Array($res_pz);
  if (!$pole_pz)
  {
    logging("".date("Y/m/d H:m:s").": ".__FILE__.": [".__LINE__."] Error ".MySQL_ErrNo().": ".MySQL_Error($spojeni)."\n");
  }
  else
  {
    // warning
  }
}

?>